var express = require("express");
var router = express.Router();

var {
  createCollections,
  getCollections,
  deleteCollections
} = require("../controllers/collectionsControllers");

// 添加收藏题目
router.post("/createCollections", createCollections);
//获取所有收藏题目
router.post("/getCollections", getCollections);
//删除收藏题目
router.post("/deleteCollections", deleteCollections);

module.exports = router;

